#pragma once

#define SENSOR_COMPASS_ID                                     L"Compass"
#define SENSOR_COMPASS_FRIENDLY_NAME                          L"Compass Sensor"
// {386796BF-EC7A-41f7-BC4F-C92B55A6E53E}
DEFINE_GUID(SENSOR_COMPASS_GUID, 
			0x386796bf, 0xec7a, 0x41f7, 0xbc, 0x4f, 0xc9, 0x2b, 0x55, 0xa6, 0xe5, 0x3e);

#include "SensorBase.h" 

// Forward reference
class WpdObjectProperties;

class CompassSensor: public SensorBase
{
public:
	CompassSensor(WpdObjectProperties* pWpdObjectProperties);

	virtual VOID AddDataFieldKeys(IPortableDeviceKeyCollection* pKeys);
	
	virtual VOID AddPropertyKeys(IPortableDeviceKeyCollection* pKeys);
	
protected:
	virtual HRESULT OnGetDataValues(PROPERTYKEY &Key, IPortableDeviceValues *pValues);
};
